]> dgit.raspbian.org Git - pcl.git/commitdiff
Fix PCL_ROOT path
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 18 Aug 2017 09:30:38 +0000 (11:30 +0200)
committerTimo Röhling <roehling@debian.org>
Tue, 10 Mar 2026 16:11:00 +0000 (17:11 +0100)
Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch

PCLConfig.cmake.in

index d90f4a225a6cb87d63914d13214404ed3f1d997e..e0b6972075b97d82246ebeef29143f72a6ea1ddd 100644 (file)
@@ -413,7 +413,7 @@ if(WIN32 AND NOT MINGW)
   endif()
 else()
 # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
-  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
+  set(PCL_ROOT "/usr")
 endif()
 
 # check whether PCLConfig.cmake is found into a PCL installation or in a build tree